﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<CI.Caja.BE.BE_Turno>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Mantener Turno
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Mantener Turno</h2>

    <table>
        <tr>
            <th></th>
            <th>
                Código
            </th>
            <th>
                Descripción
            </th>
            <th>
                Hora de Inicio
            </th>
            <th>
                Hora de Fin
            </th>
        </tr>

    <% foreach (var item in Model) { %>
    
        <tr>
            <td>
                <%: Html.ActionLink("Modificar", "Edit",         new { id= item.IdTurno }) %> |
                <%: Html.ActionLink("Ver Detalle", "Details", new { id = item.IdTurno })%> |
            </td>
            <td>
                <%: item.IdTurno %>
            </td>
            <td>
                <%: item.DescripTurno %>
            </td>
            <td>
                <%: item.HoraInicio %>
            </td>
            <td>
                <%: item.HoraFin %>
            </td>
        </tr>
    
    <% } %>

    </table>

    <p>
        <%: Html.ActionLink("Agregar Turno", "Create") %>
    </p>

</asp:Content>

